using FluentAssertions;
using Xunit;

namespace Sustainalytics.Entities
{
    [Trait("Category", "Unit")]
    public class ToReportNameString_Should
    {
        [Fact]
        public void return_null_for_null_value()
            => ((string)null).ToReportNameString().Should().Be(null);

        [Fact]
        public void replace_spaces()
            => "bla bla".ToReportNameString().Should().Be("bla_bla");
    }
}
